import { ajaxPut, ajaxUpload } from "@/http/axios/request"
import { IMemberInfo } from "@/modules/user/info"

export const addMember = (data: IMemberInfo) => {
    return ajaxUpload('/admin/admin/addAdmin', data)
}

export const setStatus = (data: { status: number, admin_id: number }) => {
    return ajaxPut('/admin/admin/setStatus', data)
}